package com.itly.rwgh.service.Impl;

import com.itly.rwgh.dao.VisualizationDao;
import com.itly.rwgh.pojo.DataModel;
import com.itly.rwgh.pojo.DataPage;
import com.itly.rwgh.pojo.PageLimit;
import com.itly.rwgh.service.VisualizationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 罗言
 * @Version: 1.0
 * @Date: 2023-12-26-14:07
 * @Description:
 */
@Service
public class VisualizationServiceImpl implements VisualizationService {
    @Autowired
    private VisualizationDao dao;

    @Override
    public List<DataModel> getHr() {
        return dao.getHr();
    }

    @Override
    public List<DataModel> getPa() {
        return dao.getPa();
    }

    @Override
    public List<DataModel> getCountT() {
        return dao.getCountT();
    }

    @Override
    public List<DataModel> getWd() {
        return dao.getWd();
    }

    @Override
    public List<DataModel> getWeather() {
        return dao.getWeather();
    }

    @Override
    public List<DataModel> getWp() {
        return dao.getWp();
    }

    @Override
    public List<DataModel> getWs() {
        return dao.getWs();
    }

    @Override
    public List<DataModel> getInfoT() {
        return dao.getInfoT();
    }

    @Override
    public Integer getDataCount() {
        return dao.getDataCount();
    }

    @Override
    public List<DataPage> getData(PageLimit limit) {
        return dao.getData(limit);
    }
}
